package com.yxinsur.imc.business.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.yxinsur.imc.common.annotation.Excel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.ToString;

import javax.validation.constraints.NotBlank;
import java.util.Date;

@Data
@ToString
public class OrderReceiptRevisitCustomDto {
    private static final long serialVersionUID = 1L;
    /** 回执录入日期 */
    @ApiModelProperty("回执录入日期")
    private Date ackDate;


    /** 客户回执签收日期 */
    @ApiModelProperty("客户回执签收日期")
    private Date custAckDate;


    /** 供应商客户回访时间 */
    @ApiModelProperty("供应商客户回访时间")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date revisitDate;

    @Excel(name = "客户告知书签署时间",dateFormat = "yyyy-MM-dd")
    private Date customNotifiedDate;

    @Excel(name = "客户告知书url")
    private String customNotifiedUrl;

    @NotBlank(message="保单号[policyCode]不能为空")
    private String policyCode;


    //租户key，不可重复
    @NotBlank(message="租户KEY[tenantKey]不能为空")
    private String tenantKey;
}
